package com.sixbro.shiro.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sixbro.shiro.domain.entity.SysJob;

import java.util.List;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @Author: Mr.Lu
 * @Since: 2020/6/19 14:35
 */
public interface SysJobService extends IService<SysJob> {

    void saveJob(SysJob sysJob);

    void updateJobById(SysJob sysJob);

    void delete(List<String> ids);

    void run(List<String> ids);

    void pause(List<String> ids);

    void resume(List<String> ids);

    void updateBatch(List<String> ids, int status);
}
